﻿using System;
using System.Linq;
using System.Data.Linq;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using CodeSmith.Data.Attributes;
using CodeSmith.Data.Rules;

namespace ezCloud.Data
{
    public partial class RoomTypes
    {
        // Place custom code here.

        #region Metadata
        // For more information about how to use the metadata class visit:
        // http://www.plinqo.com/metadata.ashx
        [CodeSmith.Data.Audit.Audit]
        internal class Metadata
        {
             // WARNING: Only attributes inside of this class will be preserved.

            public int RoomTypeId { get; set; }

            public string RoomTypeName { get; set; }

            public string RoomTypeCode { get; set; }

            public string RoomTypeDescription { get; set; }

            public string Image { get; set; }

            public int? HotelId { get; set; }

            public decimal? Price { get; set; }

            public bool IsHidden { get; set; }

            public int DefaultAdults { get; set; }

            public int DefaultChilds { get; set; }

            public bool IsDeleted { get; set; }

            public int? OrderNumber { get; set; }

            public Hotels Hotels { get; set; }

            public EntitySet<ReservationRooms> ReservationRoomsList { get; set; }

            public EntitySet<RoomCharges> RoomChargesList { get; set; }

            public EntitySet<Rooms> RoomsList { get; set; }

            public EntitySet<RoomTypeAmenities> RoomTypeAmenitiesList { get; set; }

            public EntitySet<CMRoomTypeMappings> CMRoomTypeMappingsList { get; set; }

            public EntitySet<CMRoomRateMappings> CMRoomRateMappingsList { get; set; }

            public EntitySet<RoomPrices> RoomPricesList { get; set; }

        }

        #endregion
    }
}